package com.atguigu.guliedu.edu.service;

import com.atguigu.guliedu.edu.entity.Subject;
import com.atguigu.guliedu.edu.entity.vo.SubjectVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author java
 * @since 2021-02-01
 */
public interface SubjectService extends IService<Subject> {

    List<SubjectVo> tree();

    List<SubjectVo> getSubjectChildren(SubjectVo level1, List<SubjectVo> list);
}
